﻿@model shenkong.Models.Dorm

@{
    ViewData["Title"] = "Details";
}

<h1>详细</h1>

<div>
    <h4>宿舍信息</h4>
    <hr />
    <dl class="row">
        <dt class = "col-sm-2">
            楼栋名称
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.BuilidingName)
        </dd>
        <dt class = "col-sm-2">
            容纳人数
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.DormContain)
        </dd>
        <dt class = "col-sm-2">
            入住人数
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Liver)
        </dd>
        <dt class = "col-sm-2">
            宿舍类型
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.DormClass)
        </dd>
    </dl>
</div>
<div>
    <a asp-action="Edit" asp-route-id="@Model?.DormId">修改</a> |
    <a asp-action="Index">返回</a>
</div>
